

<script>
import { ProjectInit } from "./sheep";
import { getLatestVersion } from '@/utils/latestVersion'
export default {
  onLaunch: function () {
    	// 获取系统是否更新信息
			getLatestVersion()
    // 隐藏原生导航栏 使用自定义底部导航
    uni.hideTabBar({
      animation: false,
      success: () => { },
      fail: () => {
        // 捕获报错，防止没有tabbar页面调用后控制台报错
      },
    });
    ProjectInit();
  },
  onShow: function () {
    // console.log('App Show')
  },
  onHide: function () {
    // console.log('App Hide')
  },
};

</script>

<style lang="scss">
.tabbar_safearea {
	:deep(.u-tabbar__content){
		padding-bottom: 100rpx;
		padding-bottom: env(safe-area-inset-bottom) !important;		
	}
}

page {
  background-color: #f5f5f5;
}

scroll-view ::-webkit-scrollbar {
  display: none;  
  width: 0;
  height: 0;
  color: transparent;
}
</style>
